package com.cw.recommend.common.model
import org.apache.spark.mllib.recommendation.Rating


case class UserRating(userId: Int, productId: Int, score: Double, timestamp: Long) {

  def toMlLibRating: Rating = Rating(userId, productId, score)

}




